Current sampling circuit and method

ABSTRACT

Disclosed is a current sampling circuit including a proportional current output circuit and a full differential common mode negative feedback circuit, specifically the proportional current output circuit is configured to calculate a current output from a power device according to a preset proportion to obtain a first proportional current and a second proportional current, and to output the first proportional current and the second proportional current to the full differential common mode negative feedback circuit; and the full differential common mode negative feedback circuit is configured to shunt respectively the first proportional current and the second proportional current using a full differential common mode negative feedback network with a bias current in microamps to obtain a first sampling current and a second sampling current, and to output constantly the first sampling current and the second sampling current. Further disclosed is a current sampling method.

TECHNICAL FIELD

The present disclosure relates to current sampling techniques in the field of circuit design, and in particular to a current sampling circuit and method.

BACKGROUND

In related arts, implementation of a highly accurate current sampling circuit is as shown in FIG. 1, the current sampling circuit includes a power transistor M1, sampling transistors M2 and M3, and a close loop negative feedback circuit consisting of an operational amplifier, a transistor M4 and resistors R1, R2; wherein R1=R2, I1 and I2 are bias currents providing a quiescent operating point of the close loop negative feedback circuit, and the gain of the close loop negative feedback circuit is: A _(feedback) =A _(op) ·g _(m4) R _(o)

In the current sampling circuit as shown in FIG. 1, the current in the power transistor M1 is firstly mirrored into the sampling transistors M2 and M3, after passing through the close loop negative feedback circuit consisting of the operational amplifier, the transistor M4 and the resistors R1 and R2, the mirrored current is output as a sampling current. In the above current sampling circuit, the clamping effect of the operational amplifier is used to ensure that a first input voltage V_(n) is equal to a second input voltage V_(p) so that the output sampling current I_(out) is the same as the current flowing through the sampling transistors M2 and M3, thereby the current in the power transistor M1 can be sampled stably and accurately; if the current in the power transistor M1 changes direction, the output sampling current also changes direction, thereby implementing accurate sampling of current in both directions.

The current sampling scheme in the related arts has the following disadvantages: 1) it is disadvantageous for applications in large-scale circuits having a high integration density; 2) the current sampling circuit is not energy-saving due to its high power consumption.

SUMMARY

Embodiments of the disclosure are intended to provide a current sampling circuit that has an integrated circuit structure, a low power consumption and a low cost and can output a stable and accurate sampling current, and a corresponding current sampling method.

The technical solutions of the disclosure are implemented as follows.

An embodiment of the disclosure provides a current sampling circuit including a proportional current output circuit and a full differential common mode negative feedback circuit,

specifically, the proportional current output circuit is configured to calculate a current output from a power device according to a preset proportion to obtain a first proportional current and a second proportional current, and to output the first proportional current and the second proportional current to the full differential common mode negative feedback circuit; and

the full differential common mode negative feedback circuit is configured to shunt respectively the first proportional current and the second proportional current using a full differential common mode negative feedback network with a bias current in microamps to obtain a first sampling current and a second sampling current, and to output constantly the first sampling current and the second sampling current.

In the above solution, the power device may be implemented by a first Lateral Diffusion N-channel Metal-Oxide-Semiconductor (LDNMOS);

the proportional current output circuit may include a second LDNMOS, a third LDNMOS, a fourth LDNMOS and a fifth LDNMOS; and

the full differential common mode negative feedback circuit may include a first P-channel Metal-Oxide-Semiconductor (PMOS), a second PMOS, a third PMOS, a fourth PMOS, a first resistor, a second resistor, a second reference current source, a third reference current source, a fourth reference current source, and a fifth reference current source.

In the above solution, in the proportional current output circuit, the drain of the second LDNMOS is connected with the drain of the fourth LDNMOS and a power supply, the gate of the second LDNMOS is connected with the gate of the first LDNMOS, the gate of the third LDNMOS and a gate driving voltage (hdrv_in from a gate driving circuit), the source of the second LDNMOS is connected respectively with the drain of the third LDNMOS and the drain of the fifth LDNMOS; the source of the third LDNMOS is connected respectively with the source of the first LDNMOS and a first end of the first reference current source; the gate of the fourth LDNMOS is connected with the gate of the fifth LDNMOS, the source of the fourth LDNMOS is connected respectively with the source of the first PMOS and the source of the third PMOS in the full differential common mode negative feedback circuit; the source of the fifth LDNMOS is connected respectively with the source of the second PMOS and the source of the fourth PMOS in the full differential common mode negative feedback circuit;

in the full differential common mode negative feedback circuit, the gate of the first PMOS is connected with the gate of the second PMOS, the drain of the first PMOS is connected respectively with a first end of the first resistor, the gate of the fourth PMOS and a first end of the third reference current source; the drain of the second PMOS is connected respectively with a first end of the second resistor, the gate of the third PMOS and a first end of the fourth reference current source; the drain of the third PMOS is connected with a first end of the second reference current source; the drain of the fourth PMOS is connected with the fifth reference current source; a second end of the first resistor is connected respectively with a second end of the second resistor, the gate of the first PMOS and the gate of the second PMOS; second ends of the first reference current source, the second reference current source, the third reference current source, the fourth reference current source and the fifth reference current source are all connected to a ground point; and

the drain of the first LDNMOS is connected to the power supply.

Based on the above current sampling circuit, an embodiment of the disclosure further provides a current sampling method, and the method includes:

a current output from a power device is calculated according to a preset proportion to obtain a first proportional current and a second proportional current; and

the first proportional current and the second proportional current are shunted respectively using a full differential common mode negative feedback network and a bias current in microamps to obtain a first sampling current and a second sampling current, and the first sampling current and the second sampling current are output constantly.

In the above solution, the step that a current output from a power device is calculated according to a preset proportion to obtain a first proportional current and a second proportional current may include:

a ratio between the current output from the power device and the preset proportion is calculated, and an obtained ratio is taken as a current value of a proportional branch;

the first proportional current and the second proportional current are determined according to the current value of the proportional branch.

In the above solution, the step that the first proportional current and the second proportional current are shunted respectively using a full differential common mode negative feedback network and a bias current in microamps to obtain a first sampling current and a second sampling current may include:

-   -   the first sampling current I_(sense+) and the second sampling         current I_(sense−) are obtained from the following formula:         I _(sense+) =I _(J1) −I _(b)         I _(sense−) =I _(J2) −I _(b)

where I_(J1) is the first proportional current, I_(J2) is the second proportional current, and I_(b) is the bias current in microamps provided by the full differential common mode negative feedback network.

Compared to the related arts, the current sampling circuit and method provided by the embodiments of the disclosure have the following advantages:

1) in the embodiments of the disclosure, a full differential common mode negative feedback circuit including four PMOSs and two resistors is used to replace a close loop negative feedback circuit including transistors and an operational amplifiers, in this way, it can be ensured that the full differential common mode negative feedback network has a gain larger than 60 dB, generally between 70 to 88 dB, and the higher the gain is, the more a stable sampling current output can be ensured, thereby implementing a stable sampling current out; in addition, the structure of the full differential common mode negative feedback circuit according to the embodiments of the disclosure is simpler when compared to that of the close loop negative feedback circuit in th related arts; and a sampling current output from the full differential common mode negative feedback circuit is only related to dimensions of a transistor and not affected by process variations, thus an accurate sampling current can be output;

2) compared to its counterparts in the related arts, the full differential common mode negative feedback circuit according to the embodiments of the disclosure has a higher integration density, occupies smaller pattern area and has lower cost; and

3) the full differential common mode negative feedback circuit according to the embodiments of the disclosure requires a smaller bias current that is in microamps and generally of 10-20 μA, thus its power consumption is reduced greatly.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic structural diagram of a current sampling circuit in related arts of an embodiment of the disclosure;

FIG. 2 is a schematic structural diagram of a current sampling circuit according to an embodiment of the disclosure;

FIG. 3 is a schematic structural diagram of a current sampling circuit during practical application of an embodiment of the disclosure;

FIG. 4 is an equivalent structural diagram of a full differential common mode negative feedback network according to an embodiment of the disclosure;

FIG. 5 is a schematic structural diagram of a folding current sampling circuit according to an embodiment of the disclosure; and

FIG. 6 is a flow chart of a current sampling method according to an embodiment of the disclosure.

DETAILED DESCRIPTION

During implementation of the present application, the applicant finds that current sampling schemes in related arts include at least the following disadvantages:

1) in the above current sampling circuit, in order to provide a main gain of the close loop negative feedback circuit, it is required to add an error amplifier or a adjustment transistor to the clamp of the operational amplifier, thus a close loop negative feedback circuit including the operational amplifier and the error amplifier or the adjustment transistor is intended to occupy too much pattern area, and required overheads of pattern area is higher, therefore, the above current sampling circuit is disadvantageous for applications in large-scale circuits having a high integration density; and

2) in the above current sampling circuit, the close loop negative feedback circuit requires large bias currents I1 and I2 in amps or milliamps, thus the above current sampling circuit consumes more power and is disadvantageous for the energy-saving development trend.

In an embodiment of the disclosure, a current output from a power device is calculated according to a preset proportion to obtain a first proportional current and a second proportional current; and the first proportional current and the second proportional current are shunted respectively using a full differential common mode negative feedback network and a bias current in microamps to obtain a first sampling current and a second sampling current, and the first sampling current and the second sampling current are output constantly.

Specific embodiments of the disclosure will be further elaborated below with reference to the drawings.

An embodiment of the disclosure provides a current sampling circuit for sampling current of a power device, as shown in FIG. 2, the current sampling circuit includes a proportional current output circuit 201 and a full differential common mode negative feedback circuit 202,

specifically, the proportional current output circuit 201 is configured to calculate a current output from a power device according to a preset proportion to obtain a proportional current, and to output the proportional current to the full differential common mode negative feedback circuit 202; and

the full differential common mode negative feedback circuit 202 is configured to shunt respectively the first proportional current and the second proportional current using a full differential common mode negative feedback network with a bias current in microamps to obtain a first sampling current and a second sampling current, and to output constantly the first sampling current and the second sampling current.

Herein, the power device may be implemented by a Negative channel Metal Oxide Semiconductor (NMOS), a Positive channel Metal Oxide Semiconductor (PMOS), a Lateral Diffusion NMOS (LDNMOS), a Lateral Diffusion PMOS (LDPMOS), and a PNP transistor or an NPN transistor that has power output function; preferably, the embodiment of the disclosure is implemented by an LDNMOS, and a first LDNMOS M₁ shown in FIG. 3 is namely a power device.

Specific structures of the proportional current output circuit 201 and of the full differential common mode negative feedback circuit 202 will be elaborated below based on the current sampling circuit shown in FIG. 3 from a practical application perspective.

the proportional current output circuit 201 includes a second LDNMOS M₂, a third LDNMOS M₃, a fourth LDNMOS M₄ and a fifth LDNMOS M₅; and

The full differential common mode negative feedback circuit 202 includes a first

PMOS M₆, a second PMOS M₇, a third PMOS M₈, a fourth PMOS M₉, a first resistor R₁, a second resistor R₂, a second reference current source I₂, a third reference current source I₃, a fourth reference current source I₄, and a fifth reference current source I₅.

Herein transistors M₂, M₃, M₄, M₅ in the proportional current output circuit 201 are implemented by an LDMOS transistor of the same type as that of power transistor M₁, with a gate voltage being a gate driving voltage (hdrv_in output from a gate driving circuit), thus respective transistors operate in the linear region and are equivalent to resistors, and the maximum withstanding voltage of each of the transistors M₁, M₂, M₃, M₄, M₅ is 18V.

Herein transistors M₆, M₇, M₈, M₉ in the full differential common mode negative feedback circuit 202 are implemented by a PMOS transistor with a maximum withstanding voltage of 20V.

Herein transistors in the full differential common mode negative feedback circuit 203 can also be implemented, as required, by NMOS, NPN or PNP transistors.

Further, the connection relation of respective devices in the current sampling circuit according to the embodiment of the disclosure is elaborated with reference to FIG. 2.

in the proportional current output circuit 201, the drain of the second LDNMOS M₂ is connected with the drain of the fourth LDNMOS M₄ and a power supply V_(in), the gate of the second LDNMOS M₂ is connected with the gate of the first LDNMOS M₁, the gate of the third LDNMOS and an output hdrv_in of a gate driving circuit (namely driven by a voltage signal output from the gate driving circuit), the source of the second LDNMOS M₂ is connected respectively with the drain of the third LDNMOS M₃ and the drain of the fifth LDNMOS M₅; the source of the third LDNMOS M₃ is connected respectively with the source of the first LDNMOS M₁ and one end of the first reference current source I₁; the gate of the fourth LDNMOS M₄ is connected with the gate of the fifth LDNMOS M₅, the source of the fourth LDNMOS M₄ is connected respectively with the source of the first PMOS M₆ and the source of the third PMOS M₈ in the full differential common mode negative feedback circuit 202; the source of the fifth LDNMOS M₅ is connected respectively with the source of the second PMOS M₇ and the source of the fourth PMOS M₉ in the full differential common mode negative feedback circuit 202;

in the full differential common mode negative feedback circuit 202, the gate of the first PMOS M₆ is connected with the gate of the second PMOS M₇, the drain of the first PMOS M₆ is connected with one end of the first resistor R₁, the gate of the fourth PMOS M₉ and one end of the third reference current source I₃; the drain of the second PMOS M₇ is connected with one end of the second resistor R₂, the gate of the third PMOS M₈ and one end of the fourth reference current source I₄; the drain of the third PMOS M₈ is connected with one end of the second reference current source I₂; the drain of the fourth PMOS M₉ is connected with the fifth reference current source I₅; the other end of the first resistor R₁ is connected respectively with the other end of the second resistor R₂, the gate of the first PMOS M₆ and the gate of the second PMOS M₇; the other ends of the first reference current source the second reference current source I₂, the third reference current source I₃, the fourth reference current source I₄ and the fifth reference current source I₅ are all connected to a ground point;

the drain of the first LDNMOS M₁ is connected to the power supply V_(in).

In the embodiment of the disclosure, based on the above circuit structure and connection relation between devices, the operation principle of the current sampling circuit is as follows.

Firstly, the power device, i.e., a first LDNMOS M₁ outputs I_(power) to the proportional current output circuit 201, the proportional current output circuit 201 calculates the output current I_(power) according to a preset proportion to obtain a first proportional current and a second proportional current and outputs them to the full differential common mode negative feedback circuit 202.

Herein, the gate voltage of the transistors M₁, M₂, M₃, M₄, M₅ are driven by hdrv_in, thus these transistors operate in the linear region and are equivalent to resistors, and each of the transistors M₁, M₂, M₃, M₄, M₅ has a maximum withstanding voltage of 18 V since the voltage V_(in) input by the power supply has a maximum value of 18 V.

Herein, the conductance of a transistor

${G = {{{\mu \cdot C_{ox} \cdot \frac{W}{L}}\left( {V_{gs} - V_{th} - V_{ds}} \right)} \approx \frac{W}{L}}},$ where μ·C_(ox) is a constant factor of the transistor, V_(gs) is a gate-source voltage of the transistor, V_(th) is a threshold voltage of the transistor, V_(ds) is a drain-source voltage of the transistor, W is the width of the channel, L is the length of the channel; since the conductance of the transistor

${G \approx \frac{W}{L}},$ the conductance G of the transistor can be adjusted by setting the width and the length of the channel of the transistor; in the embodiment of the disclosure, for conductance of M₁, M₂, M₃, M₄, M₅, it is preset that G₁=X×G₂=X×G₃; G₂=G₃=Y×G₄=Y×G₅, where X and Y are preset constants of proportionality.

Specifically, the proportional current output circuit 201 firstly calculates the output current I_(power) according to the preset proportion to obtain:

$\begin{matrix} {{I_{power}/I_{s\; 1}} = {{\left( {\frac{1}{G_{2}} + \frac{1}{G_{3}}} \right)/\left( \frac{1}{G_{1}} \right)} = {2X}}} & (1) \end{matrix}$ where I_(s1) is the value of current flowing through the transistor M₂, and

$\frac{1}{G_{1}},\frac{1}{G_{2}},\frac{1}{G_{3}}$ are resistances of the transistors M₁, M₂, M₃ respectively;

then the obtained current I_(s1) is output to drains of transistors M₃, M₅ so as to obtain a first proportional current I_(J1) flowing through the transistor M₄ and a second proportional current I_(J2) flowing through the transistor M₅, the first proportional current I_(J1) is output to sources of the transistors M₆ and M₈ in the full differential common mode negative feedback circuit 202, and the second proportional current I_(J2) is output to sources of the transistors M₇ and M₉ in the full differential common mode negative feedback circuit 202; the transistors M₄ and M₅ have an effect of isolating a high voltage, thus it is possible to prevent breakdown of the full differential common mode negative circuit 202 by the high voltage.

Finally, the full differential common mode negative feedback circuit 202 is in the form of a full differential common mode negative feedback network consisting of transistors M₆, M₇, M₈, M₉, resistors R₁, R₂, the second reference current source I₂, a third reference current source I₃, a fourth reference current source I₄, and a fifth reference current source I₅, and the third reference current source and the fourth reference current source are used to provide the full differential common mode negative feedback network with a bias current I_(b) in microamps; the first proportional current I_(J1) and the second proportional current I_(J2) are shunted respectively to obtain a first sampling current I_(sense+) and a second sampling current I_(sense−).

where I_(J1)=I_(sense+)+I₃, I_(J2)=I_(sense−)+I₄, I_(sense+) is a current flowing through the transistor M₈, I_(sense−) is a current flowing through the transistor M₉, I₃ is a current flowing through the third reference current source, I₄ is a current flowing through the fourth reference current source, and I₃=I₄=I_(b), where I_(b) is a benchmark bias current providing the transistors M₆, M₇ with a quiescent operating point and as low as 10 to 20 μA, thus compared to the current sampling circuit in related arts, the current sampling circuit according to the embodiment of the disclosure has a greatly-reduced power consumption.

In above embodiments of the disclosure, the full differential common mode negative feedback network is equivalent to a negative feedback network including an operational amplifier, as shown in FIG. 4; wherein a circuit consisting of transistors M₆, M₇ and resistors R₁, R₂ is equivalent to an operational amplifier, points C and D are taken as inputs of the operational amplifier, and the two sampling currents are taken approximately as being connected to the input and output of the operational amplifier. Due to the clamping effect of the operational amplifier, its inputs C and D have a same voltage, the first sampling current I_(sense+) from the output is fed back to the input C of the operational amplifier via the transistor M₈, the second sampling current I_(sense−) from the output is fed back to the input D of the operational amplifier via the transistor M₉, thus an effect of an operational amplifier feedback network is resulted, and it is possible to provide the current sampling circuit with a stable gain, therefore, the current sampling circuit according to the embodiment of the disclosure occupies smaller pattern area, has a higher integration density and lower cost.

Herein, when a current flowing through the transistor M₁ is downwards, a forward first sampling current I_(sense+)+ will flow through a branch where the transistor M₈ is located, and a reverse second sampling current I_(sense−) of 0 will flow through the transistor M₉; on the contrary, when the current flowing through the transistor M₁ is upwards (i.e., reverse), the forward first sampling current of 0 will flow through the branch where the transistor M₈ is located, and the reverse second sampling current I_(sense−) will flow through the transistor M₉, and I_(sense+)=I_(sense−), thus two branches operate separately and there is no interference therebetween, thereby implementing current sampling in both directions.

How to obtain the forward first sampling current I_(sense+) in an embodiment of the disclosure will be elaborated below by taking current sampling in a forward direction as an example, KVL (Kirchhoff's Voltage Law) equations obtained from point A to point G are as follows.

$\begin{matrix} {{{I_{J\; 1}*\left( \frac{1}{G_{4}} \right)} + V_{s\; g\; 6}} = {{I_{s\; 1}*\left( \frac{1}{G_{2}} \right)} + {I_{b}\left( \frac{1}{G_{5}} \right)} + V_{{sg}\; 7}}} & (2) \\ {V_{{sg}\; 6} = V_{{sg}\; 7}} & (3) \\ {I_{J\; 1} = {I_{b} + I_{{sense} +}}} & (4) \end{matrix}$

where V_(sg6) is a gate-source voltage of the transistor M₆, V_(sg7) is a gate-source voltage of the transistor M₇; it can be obtained from equations (1), (2), (3) and (4):

${I_{{sense} +} = {{I_{s\; 1}*\left( \frac{G_{4}}{G_{2}} \right)} = {{I_{s\; 1}/Y} = {I_{power}/\left( {2\;{XY}} \right)}}}};$

it can be seen that the first sampling current I_(sense+) in the embodiment of the disclosure is only related to the width and length of a transistor and not affected by process variations, thus a sampling current with improved accuracy can be obtained.

In the embodiment of the disclosure, the method for calculating the reverse second sampling current I_(sense−) is similar to the method for calculating the forward first sampling current I_(sense+); and the reverse second sampling current is equal to the forward first sampling current, i.e., the second sampling current I_(sense−)=I_(power)/(2XY), thus duplicated content thereof will be omitted.

In practical applications, the proportional current output circuit 201 and the full differential common mode negative feedback circuit 202 can be applied to a charger chip of a power supply management chip.

The current sampling circuit in the embodiment of the disclosure can also be of a folding structure, the folding current sampling circuit has a similar principle as that of the above current sampling circuit, and it has flexible applications, as shown in FIG. 5, the current sampling circuit includes a proportional current output circuit 501 and a full differential common mode negative feedback circuit 502;

specifically, the proportional current output circuit 501 includes a second LDNMOS M₂, a third LDNMOS M₃, a fourth LDNMOS M₄, a fifth LDNMOS M₅, a sixth LDNMOS M₆, a seventh LDNMOS M₇, and a eighth LDNMOS M₈;

the full differential common mode negative feedback circuit 502 includes a first PMOS M₉, a second PMOS M₁₀, a third PMOS M₁₁, a fourth PMOS M₁₂, a fifth PMOS M₁₃, a sixth PMOS M₁₄, a first resistor R₁, a second resistor R₂, a second reference current source I₂, a third reference current source I₃, a fourth reference current source I₄, a ninth NMOS M₁₉, a tenth NMOS M₂₀, a eleventh NMOS M₂₁, a twelfth NMOS M₂₂, a thirteenth NMOS M₂₃, and a fourteenth NMOS M₂₄;

Herein, transistors M₂, M₃, M₄, M₅, M₆, M₇, M₈ in the proportional current output circuit 201 are implemented by an LDMOS transistor of the same type as that of power transistor M₁, with a gate voltage being a gate driving voltage hdrv_in, thus respective transistors operate in the linear region and are equivalent to resistors, and each of the transistors is implemented by a transistor with the maximum withstanding voltage of 18 V.

Herein, voltages of transistors M₉, M₁₀, M₁₁, M₁₂, M₁₃, M₁₄ in the full differential common mode negative feedback circuit are all maintained at a voltage of 20 V; voltages of transistors M₁₉, M₂₀, M₂₁, M₂₂, M₂₃, M₂₄ can be adjusted appropriately to ensure a benchmark bias current I_(b) desired in the full differential common mode negative feedback circuit 502, and the benchmark bias current I_(b) providing M₁₀, M₁₁ with a quiescent operating point is as low as 10 to 20 μA.

Herein, transistors in the full differential common mode negative feedback circuit 502 can also be implemented, as required, by NMOS, NPN or PNP transistors.

The connection relation of respective devices in the folding current sampling circuit according to the embodiment of the disclosure is elaborated below with reference to FIG. 5.

in the proportional current output circuit 501, the drain of the transistor M₂ is connected with a power supply V_(in), the gate of the transistor M₂ is connected with the gate of the transistor M₁, the gate of the transistor M₃, the gate of the transistor M₄, the gate of the transistor M₅ and a driving voltage hdrv_in, the source of the transistor M₂ is connected with the drain of the transistor M₃ and the drain of the transistor M₆ in a current mirror circuit 502; the source of the transistor M₃ is connected with the source of the transistor M₄ and one end of the first reference current source I₁; the gate of the transistor M₆ is connected with the gate of the transistor M₇ and the gate of transistor M₈, the source of the transistor M₆ is connected with the source of the transistor M₉ and the source of the transistor M₁₃ in the full differential common mode negative feedback circuit 502; the source of the transistor M₇ is connected with the source of the transistor M₁₀ and the source of the transistor M₁₁ in the full differential common mode negative feedback circuit 502; the source of the transistor M₈ is connected with the source of the transistor M₁₂ and the source of the transistor M₁₄ in the full differential common mode negative feedback circuit 502;

in the full differential common mode negative feedback circuit 502, the drain of the transistor M₉ is connected with the source of the transistor M₂₁ and the drain of the transistor M₂₂, the gate of the transistor M₉ is connected with the gate of the transistor M₁₀, the gate of the transistor M₁₁ and the gate of the transistor M₁₂; the drain of the transistor M₁₀ is connected with the resistor R₁ and the drain of the transistor M₂₁; the drain of the transistor M₁₁ is connected with the resistor R₂ and the drain of the transistor M₂₃; the drain of the transistor M₁₂ is connected with the source of the transistor M₂₃ and the drain of the transistor M₂₄; the drain of the transistor M₁₃ is connected with one end of the second reference current source I₂; the drain of the transistor M₁₄ is connected with one end of the fourth reference current source I₄, the gate of the transistor M₁₃ is connected with the drain of the transistor M₂₁; the gate of the transistor M₁₉ is connected with the gate of the transistor M₂₁, the drain of the transistor M₁₉ is connected with the gate of the transistor M₂₁, the gate of the transistor M₂₃ and one end of the third reference current source I₃, the drain of the transistor M₁₉ is connected with the drain of the transistor M₂₀, the gate of the transistor M₂₂ and the gate of the transistor M₂₄; the source of the transistor M₂₀ is connected to the a ground point, the gate of the transistor M₂₀ is connected with the gate of the transistor M₂₂ and the gate of the transistor M₂₄; the source of the transistor M₂₁ is connected with the drain of the transistor M₉ and the drain of the transistor M₂₂; the source of the transistor M₂₂ is connected to the ground point; the source of the transistor M₂₃ is connected with the drain of the transistor M₁₂ and the drain of the transistor M₂₄; the source of the transistor M₂₄ is connected to the ground point; other ends of the first reference current source I₁, the second reference current source I₂, and the fourth reference current I₄ source are connected to the ground point; the other end of the third reference current source I₃ is connected with the power supply V_(DD);

the drain of the transistor M₁ is connected to the power supply

In the above embodiment of the disclosure, the current of the transistor M₁ in the folding current sampling circuit is scaled twice through the proportional current output circuit 501, the output current becomes smaller than that of the above current sampling circuit, thus the power consumption is lowered further; the transistors M₁₀, M₁₁, M₁₃, M₁₄, the first resistor R₁ and the second resistor constitute a full differential common mode negative feedback network; the transistors M₉, M₂₀, M₂₁, M₂₂, M₂₃, M₂₄ constitute a folding structure, and the folding current sampling circuit according to the embodiment of the disclosure can meet application demand in low voltage field.

In the embodiments of the disclosure, current sampling circuits shown in FIG. 2, 3 or 5 can be applied in devices or apparatuses that need current sampling.

Based on same technical ideas, an embodiment of the disclosure further provides a current sampling method, since the principle of the method is similar to that of the current sampling circuit, for the implementation of the method and its principle, please refer to the implementation of the circuit and its corresponding principle, and duplicated content thereof will be omitted.

As shown in FIG. 6, the current sampling method provided by the embodiment of the disclosure includes:

step S601, a current output from a power device is calculated according to a preset proportion to obtain a first proportional current and a second proportional current;

specifically, firstly, a ratio between the current output from the power device and the preset proportion is calculated according to I_(s1)=I_(power)/2X, and an obtained ratio is taken as a current value of a proportional branch; then the first proportional and the second proportional current are determined according to the current value of the proportional branch;

where I_(power) is the current output from the power device; I_(s1) is the current value of the proportional branch, and 2X is the preset proportion.

Step S602, the first proportional current and the second proportional current are shunted respectively using a full differential common mode negative feedback network and a bias current in microamps to obtain a first sampling current and a second sampling current, and the first sampling current and the second sampling current are output constantly.

Specifically, the first sampling current I_(sense+) and the second sampling current I_(sense−) obtained from the following formula: I _(sense+) =I _(J1) −I _(b) I _(sense−) =I _(J2) −I _(b)

where I_(J1) is the first proportional current, I_(J2) is the second proportional current, and I_(b) is the bias current in microamps provided by the full differential common mode negative feedback network.

Although only preferable embodiments of the disclosure are described, once those skilled in the art know the basic inventive concept, they can make other modifications and changes to these embodiments. Thus the accompanying claims are intended to include preferable embodiments and all changes and modifications within the scope of protection of the disclosure.

It is obvious that various changes and variations can be made by those skilled in the art without departing from the spirit and scope of the disclosure. In this way, if these modifications and variations fall within the scope of the claims and equivalent techniques, the disclosure is intended to include these changes and variations. 

The invention claimed is:
 1. A current sampling circuit, comprising: a proportional current output circuit and a full differential common mode negative feedback circuit, the proportional current output circuit is configured to calculate a current output from a power device according to a preset proportion to obtain a first proportional current and a second proportional current, and to output the first proportional current and the second proportional current to the full differential common mode negative feedback circuit; and the full differential common mode negative feedback circuit is configured to shunt respectively the first proportional current and the second proportional current using a full differential common mode negative feedback network and a bias current in microamps to obtain a first sampling current and a second sampling current, and to output constantly the first sampling current and the second sampling current; and wherein the power device is implemented by a first Lateral Diffusion N-channel Metal-Oxide-Semiconductor (LDNMOS); the proportional current output circuit comprises a second LDNMOS, a third LDNMOS, a fourth LDNMOS and a fifth LDNMOS; and the full differential common mode negative feedback circuit comprises a first P-channel Metal-Oxide-Semiconductor (PMOS), a second PMOS, a third PMOS, a fourth PMOS, a first resistor, a second resistor, a second reference current source, a third reference current source, a fourth reference current source, and a fifth reference current source; and wherein in the proportional current output circuit, the drain of the second LDNMOS is connected with the drain of the fourth LDNMOS and a power supply, the gate of the second LDNMOS is connected with the gate of the first LDNMOS, the gate of the third LDNMOS and a gate driving voltage, the source of the second LDNMOS is connected respectively with the drain of the third LDNMOS and the drain of the fifth LDNMOS; the source of the third LDNMOS is connected respectively with the source of the first LDNMOS and a first end of the first reference current source; the gate of the fourth LDNMOS is connected with the gate of the fifth LDNMOS, the source of the fourth LDNMOS is connected respectively with the source of the first PMOS and the source of the third PMOS in the full differential common mode negative feedback circuit; the source of the fifth LDNMOS is connected respectively with the source of the second PMOS and the source of the fourth PMOS in the full differential common mode negative feedback circuit; in the full differential common mode negative feedback circuit, the gate of the first PMOS is connected with the gate of the second PMOS, the drain of the first PMOS is connected respectively with a first end of the first resistor, the gate of the fourth PMOS and a first end of the third reference current source; the drain of the second PMOS is connected respectively with a first end of the second resistor, the gate of the third PMOS and a first end of the fourth reference current source; the drain of the third PMOS is connected with a first end of the second reference current source; the drain of the fourth PMOS is connected with the fifth reference current source; a second end of the first resistor is connected respectively with a second end of the second resistor, the gate of the first PMOS and the gate of the second PMOS; second ends of the first reference current source, the second reference current source, the third reference current source, the fourth reference current source and the fifth reference current source are all connected to a ground point; and the drain of the first LDNMOS is connected to the power supply.
 2. A current sampling method, comprising: calculating a current output from a power device according to a preset proportion to obtain a first proportional current and a second proportional current; and shunting respectively the first proportional current and the second proportional current using a full differential common mode negative feedback network with a bias current in microamps to obtain a first sampling current and a second sampling current, and outputting constantly the first sampling current and the second sampling current; wherein the shunting respectively the first proportional current and the second proportional current using a full differential common mode negative feedback network with a bias current in microamps to obtain a first sampling current and a second sampling current comprises: obtaining the first sampling current I_(sense+) and the second sampling current I_(sense−) from the following formula: I _(sense+) =I _(J1) −I _(b) I _(sense−) =I _(J2) −I _(b−) where I_(J1) is the first proportional current, I_(J2) is the second proportional current, and I_(b) is the bias current in microamps provided by the full differential common mode negative feedback network.
 3. The current sampling method according to claim 2, wherein the calculating a current output from a power device according to a preset proportion to obtain a first proportional current and a second proportional current comprises: calculating a ratio between the current output from the power device and the preset proportion, and taking an obtained ratio as a current value of a proportional branch; determining the first proportional current and the second proportional current according to the current value of the proportional branch. 